<?PHP
if(!defined("ADMIN_IN"))
{
	header("Location:../");
	exit();
}
?>
<div id="sidebar" style="display:none">
<form method="post" action="?path=admin&submit=sidebar">
<div class="admin_header">
Sidebar(raw html)
</div>
<?PHP
    if($_GET['error'])
    echo "<div class='error_message'>Operation failed! Check your inputs.".strerror($_GET['error'])."</div>";
    ?>
<div class="padding">
<textarea class="garea" name="sidebar_content">
<?PHP
global $DATA_DIR;
echo file_get_contents($DATA_DIR."/config.sidebar.php");
?>
</textarea>
</div>
<div class="padding">
<input type="submit" class="gbtn" />
<input type="reset" class="gbtn" />
</div>
</form>
</div>
